import axios from './axios';

export const fetchParts = async (plHangNo: string) => {
  return axios.post('/threeDimensions/getPartInfo', { plHangNo });
};

export const getPart = async (id: string) => {
  return axios.post('/threeDimensions/query/partInfo', { id });
};
